from risk.models import *
from dvadmin.utils.serializers import CustomModelSerializer


class AnjianSerializer(CustomModelSerializer):
    """
    序列化器
    """

    class Meta:
        model = Anjian
        fields = "__all__"


class AnjianCreateUpdateSerializer(CustomModelSerializer):
    """
    创建/更新时的序列化器
    """

    class Meta:
        model = Anjian
        fields = '__all__'


class EntitySerializer(CustomModelSerializer):
    """
    序列化器
    """

    class Meta:
        model = Entity
        fields = "__all__"


class EntityCreateUpdateSerializer(CustomModelSerializer):
    """
    创建/更新时的序列化器
    """

    class Meta:
        model = Entity
        fields = '__all__'


class EntityGongyexvkeSerializer(CustomModelSerializer):
    """
    序列化器
    """

    class Meta:
        model = EntityGongyexvke
        fields = "__all__"


class EntityGongyexvkeCreateUpdateSerializer(CustomModelSerializer):
    """
    创建/更新时的序列化器
    """

    class Meta:
        model = EntityGongyexvke
        fields = '__all__'


class EntityIso9000Serializer(CustomModelSerializer):
    """
    序列化器
    """

    class Meta:
        model = EntityIso9000
        fields = "__all__"


class EntityIso9000CreateUpdateSerializer(CustomModelSerializer):
    """
    创建/更新时的序列化器
    """

    class Meta:
        model = EntityIso9000
        fields = '__all__'


class GradeOldSerializer(CustomModelSerializer):
    """
    序列化器
    """

    class Meta:
        model = GradeOld
        fields = "__all__"


class GradeOldCreateUpdateSerializer(CustomModelSerializer):
    """
    创建/更新时的序列化器
    """

    class Meta:
        model = GradeOld
        fields = '__all__'


class JianduchouchaSerializer(CustomModelSerializer):
    """
    序列化器
    """

    class Meta:
        model = Jianduchoucha
        fields = "__all__"


class JianduchouchaCreateUpdateSerializer(CustomModelSerializer):
    """
    创建/更新时的序列化器
    """

    class Meta:
        model = Jianduchoucha
        fields = '__all__'


class PingfenSerializer(CustomModelSerializer):
    """
    序列化器
    """

    class Meta:
        model = Pingfen
        fields = "__all__"


class PingfenCreateUpdateSerializer(CustomModelSerializer):
    """
    创建/更新时的序列化器
    """

    class Meta:
        model = Pingfen
        fields = '__all__'


class TousujvbaoSerializer(CustomModelSerializer):
    """
    序列化器
    """

    class Meta:
        model = Tousujvbao
        fields = "__all__"


class TousujvbaoCreateUpdateSerializer(CustomModelSerializer):
    """
    创建/更新时的序列化器
    """

    class Meta:
        model = Tousujvbao
        fields = '__all__'


class YuqingSerializer(CustomModelSerializer):
    """
    序列化器
    """

    class Meta:
        model = Yuqing
        fields = "__all__"


class YuqingCreateUpdateSerializer(CustomModelSerializer):
    """
    创建/更新时的序列化器
    """

    class Meta:
        model = Yuqing
        fields = '__all__'


class ZhaohuiSerializer(CustomModelSerializer):
    """
    序列化器
    """

    class Meta:
        model = Zhaohui
        fields = "__all__"


class ZhaohuiCreateUpdateSerializer(CustomModelSerializer):
    """
    创建/更新时的序列化器
    """

    class Meta:
        model = Zhaohui
        fields = '__all__'


class BuhegehouchuliGuoshengshichouSerializer(CustomModelSerializer):
    """
    序列化器
    """

    class Meta:
        model = BuhegehouchuliGuoshengshichou
        fields = "__all__"


class BuhegehouchuliGuoshengshichouCreateUpdateSerializer(CustomModelSerializer):
    """
    创建/更新时的序列化器
    """

    class Meta:
        model = BuhegehouchuliGuoshengshichou
        fields = '__all__'


class BuhegehouchuliWaidiSerializer(CustomModelSerializer):
    """
    序列化器
    """

    class Meta:
        model = BuhegehouchuliWaidi
        fields = "__all__"


class BuhegehouchuliWaidiCreateUpdateSerializer(CustomModelSerializer):
    """
    创建/更新时的序列化器
    """

    class Meta:
        model = BuhegehouchuliWaidi
        fields = '__all__'

